package com.hs.hlw.credit.system.business.service;

import com.hs.hlw.credit.system.business.dto.ResponseDto;
import com.hs.hlw.credit.system.data.mybatis.Pageable;
import com.hs.hlw.credit.system.data.primary.model.RegularExpression;

import java.util.List;

/**
 * RegularExpressionService
 * @author zhb
 * @date 2018/11/19
 */
public interface RegularExpressionService {
    /**
     * 分页查询
     * @param pageable
     * @return
     */
    ResponseDto page(Pageable pageable);

    /**
     * 详情
     * @param id
     * @return
     */
    ResponseDto detail(Integer id);

    /**
     * 新增
     * @param regularExpression
     * @return
     */
    ResponseDto add(RegularExpression regularExpression);

    /**
     * 修改
     * @param regularExpression
     * @return
     */
    ResponseDto update(RegularExpression regularExpression);

    /**
     * 批量修改状态
     * @param list
     * @return
     */
    ResponseDto batchUpdateStatus(List<RegularExpression> list);
}